package com.woniuxy.core.exception;

import lombok.Data;

@Data
public class MyException extends RuntimeException{

    private Integer code;

    public Integer getCode() {
        return code;
    }

    public MyException(Integer code, String message){
        super(message);
        this.code=code;
    }

}
